LineLayer

open class LineLayer : Layer

A stroked line.

See also

<a href="https://www.mapbox.com/mapbox-gl-style-spec/#layers-line">The online documentation</a>

Constructors

Link copied to clipboard
open fun LineLayer(layerId: String, sourceId: String)
Creates a LineLayer.

Functions

Link copied to clipboard
Get a single expression filter.
Link copied to clipboard
open fun getId(): String
Link copied to clipboard
Get the LineBlur property
Link copied to clipboard
Get the LineBlur property transition options
Link copied to clipboard
Get the LineCap property
Link copied to clipboard
Get the LineColor property
Link copied to clipboard
The color with which the line will be drawn.
Link copied to clipboard
Get the LineColor property transition options
Link copied to clipboard
Get the LineDasharray property
Link copied to clipboard
Get the LineDasharray property transition options
Link copied to clipboard
Get the LineGapWidth property
Link copied to clipboard
Get the LineGapWidth property transition options
Link copied to clipboard
Get the LineGradient property
Link copied to clipboard
Defines a gradient with which to color a line feature.
Link copied to clipboard
Get the LineJoin property
Link copied to clipboard
Get the LineMiterLimit property
Link copied to clipboard
Get the LineOffset property
Link copied to clipboard
Get the LineOffset property transition options
Link copied to clipboard
Get the LineOpacity property
Link copied to clipboard
Get the LineOpacity property transition options
Link copied to clipboard
Get the LinePattern property
Link copied to clipboard
Get the LinePattern property transition options
Link copied to clipboard
Get the LineRoundLimit property
Link copied to clipboard
Get the LineSortKey property
Link copied to clipboard
Get the LineTranslate property
Link copied to clipboard
Get the LineTranslateAnchor property
Link copied to clipboard
Get the LineTranslate property transition options
Link copied to clipboard
Get the LineWidth property
Link copied to clipboard
Get the LineWidth property transition options
Link copied to clipboard
open fun getMaxZoom(): Float
Link copied to clipboard
open fun getMinZoom(): Float
Link copied to clipboard
Get the source id.
Link copied to clipboard
Get the source layer.
Link copied to clipboard
Link copied to clipboard
open fun isDetached(): Boolean
Link copied to clipboard
open fun setDetached()
Link copied to clipboard
open fun setFilter(@NonNull filter: Expression)
Set a single expression filter.
Link copied to clipboard
Set the LineBlur property transition options
Link copied to clipboard
Set the LineColor property transition options
Link copied to clipboard
Set the LineDasharray property transition options
Link copied to clipboard
Set the LineGapWidth property transition options
Link copied to clipboard
Set the LineOffset property transition options
Link copied to clipboard
Set the LineOpacity property transition options
Link copied to clipboard
Set the LinePattern property transition options
Link copied to clipboard
Set the LineTranslate property transition options
Link copied to clipboard
Set the LineWidth property transition options
Link copied to clipboard
open fun setMaxZoom(zoom: Float)
Link copied to clipboard
open fun setMinZoom(zoom: Float)
Link copied to clipboard
open fun setProperties(@NonNull properties: Array<PropertyValue<out Any>>)
Link copied to clipboard
open fun setSourceLayer(sourceLayer: String)
Set the source layer.
Link copied to clipboard
Set a single expression filter.
Link copied to clipboard
Set a property or properties.
Link copied to clipboard
open fun withSourceLayer(sourceLayer: String): LineLayer
Set the source Layer.

Properties

Link copied to clipboard
open val nativePtr: Long